@use "@/assets/styles/mixin";

.filter-container {
  @include mixin.flex-center(space-between);
  margin-top: 20px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #F6F8FA;

  :deep(.el-input),
  :deep(.el-select),
  :deep(.el-select__wrapper),
  :deep(.el-date-editor.el-input__wrapper) {
    width: 100%;
  }

  &-buttons {
    text-align: right;
  }

  &--show {
    color: #007DFF;
    font-weight: 400;
    font-size: 14px;
    margin-left: 20px;
    cursor: pointer;
  }
}

.rectification-container {
  @include mixin.flex-column;
  flex: 1;
}

.table-container {
  @include mixin.flex-column;
  position: relative;
  flex: 1;
  overflow: auto;

  &-filter {
    @include mixin.flex-align;
    width: 100%;
    margin: 20px 0;
  }

  &-schedule {
    @include mixin.flex-align;
  }

  :deep(.el-empty) {
    @include mixin.position-center;
  }

  .client-name {
    font-size: 14px;
    color: #007dff;
    line-height: 24px;
    text-decoration: underline;
    cursor: pointer;
  }
}

:deep(.el-table) {
  flex: 1;
  overflow: auto;

  .even-row td {
    background-color: #fff !important;
    font-size: 14px;
    color: #606266;
  }

  .odd-row td {
    background-color: #F5F7FA !important;
    font-size: 14px;
    color: #606266;
  }
}

:deep(.el-table--border .el-table__cell) {
  border-right: 0;
}

//TODO:后续封装状态Tag组件
.judgment-status {
  font-size: 14px;
  color: #FF3333;
  text-align: center;

  &-info {
    color: #606266;
  }

  &-danger {
    color: #ff3333;
  }

  &-primary {
    color: #007DFF;
  }

  &-success {
    color: #0AC905;
  }

  &-dashed {
    color: #DCDFE6;
  }

  &-warning {
    color: #FF8928;
  }
}

.reform-state {
  @include mixin.flex-inline-flex;
  height: 20px;
  padding: 0 5px;
  min-width: 50px;
  border-radius: 2px;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;

  &-info {
    background-color: #dcdfe6;
    color: #606266;
  }

  &-warning {
    background-color: #fff0d9 !important;
    color: #ff9900 !important;
  }

  &-danger {
    background-color: #ffc7c7;
    color: #ff3333;
  }

  &-primary {
    background-color: #d9edff;
    color: #409eff;
  }

  &-success {
    background-color: #e3f9e9;
    color: #14c85c;
  }
}

.content-item-search {
  @include mixin.flex-align;

  :deep(.el-input__wrapper) {
    border: 0;
    box-shadow: none;
    outline: 0;

    &:hover {
      box-shadow: none;
    }

    &.is-focus {
      box-shadow: none;
    }
  }

  :deep(.svg-icon) {
    margin-right: 5px;
    cursor: pointer;
  }
}

.content-item-option {
  @include mixin.flex-center(space-between, center);
  width: 100%;
}

.dialog-footer {
  text-align: center;

  :deep(.el-button) {
    width: 120px !important;
    height: 36px !important;
  }
}

/* 核实 */
.verify-dialog {
  :deep(.el-select__wrapper) {
    background: #F2F3F5 !important;
  }

  &-footer {
    button {
      width: 120px;
      height: 36px;
    }
  }

  :deep(.el-dialog) {
    margin-top: 0 !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 4px 25px 0px rgba(4, 19, 74, 0.3);
    border-radius: 10px 10px 10px 10px;
    padding: 40px 30px;

    .el-dialog__title {
      font-size: 18px;
      font-weight: 500;
    }

    .el-dialog__footer {
      margin-top: 20px !important;
      text-align: center;

      .el-button {
        width: 92px;
        height: 36px;
      }
    }
  }
}

.rectification-radio {
  padding-top: 20px;
  overflow-x: auto;
  width: 100%;
}

.whole {
  cursor: pointer;
  margin-right: 10px;
  line-height: 32px;
  min-width: 60px;
  text-align: center;
  border-radius: 4px 4px 4px 4px;
  color: #606266;

  &-active {
    background: #007DFF;
    color: #ffffff !important;
  }
}

.tabs-content {
  margin-top: 20px;
}

.box-item {
  display: flex;
  align-items: center;

  img {
    width: 12px;
    height: 12px;
    margin-left: 5px;
  }
}

.table-operate {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;

  button {
    margin-left: 0 !important;
    padding-left: 0 !important;
    color: #409EFF;
    font-size: 14px;
    margin-bottom: 8px;
    min-width: 52px;
    justify-content: start;
    text-align: left;

    span {
      min-width: 52px;
      display: block;
    }
  }
}

:deep(.el-drawer__header) {
  margin-bottom: 2px !important;
}

:deep(.el-drawer__body) {
  font-size: 14px;
  color: #3D3D3D !important;
}

.drawer-header {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #3D3D3D;

  &-icon {
    width: 6px;
    height: 6px;
    margin-right: 8px;
    background: #409EFF;
    border-radius: 50%;
  }

  span {
    font-size: 12px;
    color: #86909C;
  }
}

.drawer-body {
  border-radius: 10px 10px 10px 10px;
  border: 1px solid #E2E8F0;
  margin-top: 10px;
  padding-bottom: 10px;

  &-active {
    background: #F4F6F8;
  }

  &-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 0 23px;
  }

  &-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E2E8F0;
    padding: 6px 23px;

    img {
      width: 16px;
      height: 16px;
      cursor: pointer;
    }
    .line{
      width: 4px;
      height: 16px;
      background: #007DFF;
      margin-right: 10px;
      border-radius: 2px 2px 2px 2px;
    }
  }
}

:focus-visible{
  outline: none!important;
}